"""
WSGI config for jfpal project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""
import os
import sys


reload(sys)
sys.setdefaultencoding('utf8')

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

project_path = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(project_path, "apps-ext"))
sys.path.insert(0, os.path.join(project_path, "apps"))

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

